package com.luntan.domain;

import java.util.Date;


/**
 * AbstractHuiTie entity provides the base persistence definition of the HuiTie entity. 
 */

public abstract class AbstractHuiTie  implements java.io.Serializable {


    // Fields    

     private Integer hid;
     private TUser TUser;
     private MainTie mainTie;
     private String hcontent;
     private Date hdate;


    // Constructors

    /** default constructor */
    public AbstractHuiTie() {
    }

    
    public AbstractHuiTie(TUser TUser, MainTie mainTie) {
        this.TUser = TUser;
        this.mainTie = mainTie;
    }
    
    /** full constructor */
    public AbstractHuiTie(Integer hid, TUser TUser, MainTie mainTie, String hcontent, Date hdate) {
        this.hid = hid;
        this.TUser = TUser;
        this.mainTie = mainTie;
        this.hcontent = hcontent;
        this.hdate = hdate;
    }

   
    // Property accessors

    public Integer getHid() {
        return this.hid;
    }
    
    public void setHid(Integer hid) {
        this.hid = hid;
    }

    public TUser getTUser() {
        return this.TUser;
    }
    
    public void setTUser(TUser TUser) {
        this.TUser = TUser;
    }

    public MainTie getMainTie() {
        return this.mainTie;
    }
    
    public void setMainTie(MainTie mainTie) {
        this.mainTie = mainTie;
    }

    public String getHcontent() {
        return this.hcontent;
    }
    
    public void setHcontent(String hcontent) {
        this.hcontent = hcontent;
    }

    public Date getHdate() {
        return this.hdate;
    }
    
    public void setHdate(Date hdate) {
        this.hdate = hdate;
    }


}